import Vue from 'vue'
import Router from 'vue-router'
import CustomerRouter from '@/views/router/index.js'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/home'

    },
    ...CustomerRouter
  ],
  mode: 'history'
})
